//
//  MapBottomSingleButton.h
//  Trackit
//
//  Created by yaodaobin on 2017/4/13.
//  Copyright © 2017年 yaodaobin. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^MapBottomSingleTapBlock)(NSInteger index);

@interface MapBottomSingleButton : UIView

@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) UILabel *label;
@property (nonatomic, copy) MapBottomSingleTapBlock tapBlock;

- (instancetype)initWithFrame:(CGRect)frame image:(NSString *)string text:(NSString *)text;
- (void)setImage:(NSString *)string text:(NSString *)text;

@end
